package cn.ven.service;

import cn.ven.entity.Blog;
import cn.ven.entity.UserTagBlogContent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface BlogService {
    public void addBlog(Blog blog);//添加博客
    public void updateBlog(Blog blog);//修改博客
    public void delBlog(int id);//删除博客
    public List<Blog> findAll();//查找所有的博客
    public UserTagBlogContent findUserTagBlogContent(int blogid);
    public Blog findById(int id);//根据id查找博客
    public List<UserTagBlogContent> findBlogByClosed(int closed);
}
